FMS can currently be configured for FMS data synchronization/replication, or to support FMS service redundancy in the event of a failover. Use of either feature is optional.
You must have the required security authorization to configure FMS data synchronization and replication or FMS redundancy. Your User ID must satisfy the user authentication requirements in your system (Microsoft Windows) to give you permission to write to the configuration files containing the required settings. See Security for more information about configuring security access.
The FMS redundancy feature set can be configured for data-center redundancy, but not yet for local redundancy. Enabling the redundancy feature currently disables use of the data synchronization/replication feature, and FMS replication and data synchronization keywords must be disabled if they have been previously configured.
See CygNet Redundancy and Configuring FMS Redundancy for more information.
The FMS data synchronization feature set is similar to the replication implementation for all DBS-based services, in that the data model is a pull from, not a push to, the Master service, and a number of Slave services can be configured to replicate from a single Master service. Enabling the replication feature disables use of the redundancy feature, and once configured, FMS replication and data synchronization keywords must be disabled before inclusion of an FMS service in a redundant environment.
In CygNet Measurement, in addition to the disaster recovery service defined as a part of the replication process, business services can also be defined.
There are some considerations to take into account prior to setting up your FMS system replication.
FMS Replication is an optional process and no replication is in place by default. Each FMS service's replication relationship is defined in its service configuration file (CygNet\Services\FMS\fms.cfg). Changes must be made before starting the service; they cannot be made at runtime.
Configuration file keywords required to define replication behavior can be set by authorized users. See FMS Configuration File Keywords in the Services section for more information about Data Synchronization keywords used to define replication and data sharing roles.
If you do not want to set up replication for an FMS service, leave the Data Synchronization Keywords section of the configuration file commented out, or define the value for the DS_MODE keyword (the data sharing mode) as NONE.
If you want to set up replication for your FMS services, define the value for the DS_MODE keyword as REPLICATION in the FMS configuration file (CygNet\Services\FMS\fms.cfg), and proceed to configure the service relationships for each involved service.
When in replication mode, FMS services can function in one of three possible data sharing roles.
FMS services involved in replication can be defined in their configuration files as a REPL_MASTER (Master) service, a REPL_SLAVE_DR (Disaster Recovery Slave) service, or a REPL_SLAVE_BUSINESS (Business Slave) service. These data sharing roles and their relationships are defined in the configuration files for each service involved in the replication relationship. Only one service can be defined as the Master service. Only one service can be defined as the DR Slave service, which maintains an exact copy of the Master database. Multiple services can be defined as Business Slave services, which maintain a mostly read-only copy of the Master database, in accordance with a specified data retention period (if used).
Each replication mode (FULL/REPOSITORY) and service role (Master/Business Slave) supports applicable FMS commands. The following table lists available command functionality for each replication mode service role.
Note: DR Slave services are read-only, so command functionality is not applicable.
| FMS Command Name | FULL Mode | REPOSITORY Mode | ||
|---|---|---|---|---|
| Master Service | Business Slave Service | Master Service | Business Slave Service | |
| Device Communication Commands | ||||
|
Request Current Configuration |
|
N/A |
|
N/A |
|
Request Data |
|
N/A |
|
N/A |
|
Request Missing Data |
|
N/A |
|
N/A |
|
Request New Data |
|
N/A |
|
N/A |
|
Request Product Data |
|
N/A |
|
N/A |
|
Send Gas Quality |
|
N/A |
|
N/A |
|
Flow-Cal Request Missing Data* |
N/A |
N/A |
|
N/A |
|
Flow-Cal Send Gas Quality* |
N/A |
N/A |
|
N/A |
| Export Commands | ||||
|
Device Data CSV |
|
|
|
N/A |
|
Normalization View Data CSV |
|
|
N/A |
N/A |
|
PPAs CSV |
|
N/A |
N/A |
N/A |
|
Flow-Cal Data CFX* |
|
|
|
|
|
Flow-Cal Ticket Data TFX* |
|
|
|
|
|
Flow-Cal Transaction Queue* |
|
N/A |
|
N/A |
|
PGAS Data XML* |
|
|
|
|
| Import Commands | ||||
|
Configuration CSV |
|
N/A |
|
N/A |
|
EmersonRoc Laptop |
|
N/A |
|
N/A |
|
Gas Analysis CSV |
|
N/A |
|
N/A |
|
Gas Quality CSV |
|
N/A |
|
N/A |
|
History CSV |
|
N/A |
|
N/A |
|
Totalflow laptop |
|
N/A |
|
N/A |
| Reports Commands | ||||
|
Balance Contribution |
|
|
|
|
|
Balance Details |
|
|
|
|
|
Balance Overview |
|
|
|
|
|
Batch |
|
|
|
|
|
Changed Device Data |
|
|
|
|
|
Changed Station Data |
|
|
|
|
|
Configuration |
|
|
|
|
|
Device QTR |
|
|
|
|
|
Device Total QTR |
|
|
|
|
|
Event |
|
|
|
|
|
Gas Analysis |
|
|
|
|
|
Gas Device Raw QTR |
|
|
|
|
|
Job*** |
|
|
|
|
|
Late Job*** |
|
|
|
|
|
Liquid Device QTR |
|
|
|
|
|
Liquid Device Raw QTR |
|
|
|
|
|
Missing Data |
|
|
|
|
|
Missing Data Overview |
|
|
|
|
|
Normalization View |
|
|
N/A |
N/A |
|
Ticket |
|
|
|
|
| System Commands | ||||
|
Archive Data** |
|
N/A |
|
N/A |
|
Detect New Devices |
|
N/A |
|
N/A |
|
Estimate Station Data |
|
N/A |
N/A |
N/A |
|
Generate Smart Groups |
|
N/A |
|
N/A |
|
Perform Database Maintenance |
|
|
|
|
|
Precalculate Calibration Data*** |
|
|
|
|
|
Schedule Jobs*** |
|
|
|
|
|
Update Normalization Views |
|
|
N/A |
N/A |
| User Commands | ||||
|
Validate Data |
|
N/A |
|
N/A |
* If installed; provided as an optional feature
** If enabled in the FMS service configuration file (CygNet\Services\FMS\fms.cfg)
*** Available as a feature of CygNet Dispatch. Contact CygNet Sales for more information.
More: